#FROM openjdk:8-alpine
#ENTRYPOINT ["java", "-jar", "/home/ygs/java-opt/demo/demo-0.0.1-SNAPSHOT.jar"]
FROM ascdc/jdk8

WORKDIR /home/opt/jar

COPY target/demo-0.0.1-SNAPSHOT.jar /home/opt/jar
ENTRYPOINT java -jar demo-0.0.1-SNAPSHOT.jar